using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Ccr.Core;

namespace Ccr
{
    public static class DedicatedDispatcherFactory
    {
        public static DispatcherQueue Create(int threadCount)
        {
            Guid guid = Guid.NewGuid();

            return new DispatcherQueue(guid.ToString(), new Dispatcher(threadCount, guid.ToString()));
        }
    }
}